package projeto.tarefaagendada.cgt;

import javax.persistence.OptimisticLockException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import plataforma.base.cdp.ObjetoPagina;
import plataforma.base.cdp.ResultadoPaginado;
import plataforma.crud.cgt.ServiceCrud;
import plataforma.crudestatico.cgd.DaoBase;
import projeto.tarefaagendada.cdp.TarefaAgendada;
import projeto.tarefaagendada.cgd.DaoTarefaAgendada;

@Service
public class ServiceTarefaAgendada extends ServiceCrud<TarefaAgendada>{
	
	@Autowired
	DaoTarefaAgendada daoTarefa;

	@Override
	public DaoBase<TarefaAgendada> getNucleoDaoBase() {
		
		return daoTarefa;
	}

	public DaoTarefaAgendada getDaoTarefa() {
		return daoTarefa;
	}

	public void setDaoTarefa(DaoTarefaAgendada daoTarefa) {
		this.daoTarefa = daoTarefa;
	}
	
}
